import request from '../utils/request';
// 查询授权码列表
export const getlist = (data) => {
  return request({
    url: '/admin/auth-code/v1/page-list',
    method: 'post',
    data: data
});
}

// 作废授权码
export const invalidate = (ids) => {
  return request({
    url: `/admin/auth-code/v1/invalidate/${ids}`,
    method: 'post',
  })
}